<?php
/**
 * 公共配置
 * @文件名称: params.php
 * @author: jawei
 * @Email: gaozhiwei@etcp.cn
 * @Date: 2017-06-06
 * @Copyright: 2017 悦畅科技有限公司. All rights reserved.
 * 注意：本内容仅限于悦畅科技有限公司内部传阅，禁止外泄以及用于其他的商业目的
 */
return [
    'projectRoot' => dirname(dirname(dirname(__FILE__))),
    'logFromEmail' => true,
    'pagination' => 10, // 分页统一展示 10条记录/页
    'traceLevel' => [
        'info' => 'group_info',
        'warning' => 'group_warning',
        'error' => 'group_error',
        'command' => 'group_command',
    ],
    'upload' => [
        'fileStoreUrl' => dirname(dirname(__DIR__))  . '/upload/',
        'allowImgType' => [
            'image/jpg',
            'image/jpeg',
            'image/png',
            'image/pjpeg',
            'image/gif',
            'image/bmp',
            'image/x-png' ,
        ],
        'allowFileType' => [
            'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
            'application/vnd.ms-excel',
            'application/octet-stream',
        ],
    ],
    //项目异常邮件组
    'errorEmailList' => [
        'gaozhiwei@etcp.cn',
    ],
];
